package com.dsbj.common.model;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 访客主表
 * @author Administrator
 */
@Data
public class ReservationPrimary {
   
    private String id; // GUID主键

    private String reservationno;

    private String districtno;

    private String employeenoReception;

    private String employeenameReception;

    private String deptno;

    private Integer employeeId;

    private Integer departmentId;

    private String deptname;

    private String visitingMatters;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date forecastVisitingTime;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date forecastDepartureTime;

    private String bpmstatus;

    private String bpmflag;

    private Integer backflag;

    private Integer requestid;

    private Integer ftriggerflag;

    private String visitorCompany;//访客单位
    
    private String employeenoPhone;//接待人手机
    
    private String districtName;
    
    private String createUserEmployeeno;

    private String createUserDeptno;
    
    private String departmentcode;//OA部门编码
    
    private String workcode;//OA工号

    private Integer status; // 状态（0:停用，1:启用）
    private Date createTime; // 创建时间
    private String createUser; // 创建人
    private Date updateTime; // 修改时间
    private String updateUser; // 修改人

    private List<Reservation> reservationList;

    private String visitorNames;
}